package com.example.shiwuyouproject.ui.fragment.my.activity.adapter
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.example.shiwuyouproject.R
import com.example.shiwuyouproject.ui.fragment.my.activity.bean.RightMenuBean

class RightWeekChldAdapter:BaseQuickAdapter<RightMenuBean,BaseViewHolder>(R.layout.item_rightweekchld) {
    override fun convert(helper: BaseViewHolder?, item: RightMenuBean?) {
        if(item?.myStatus==true){
            helper?.setImageResource(R.id.myBackSrc,R.mipmap.icon_gou)
        }else{
            helper?.setImageResource(R.id.myBackSrc,0)
        }
    }
}